package com.kis.service.impl;

import com.kis.core.annotation.RpcServer;
import com.kis.dao.user.UserMapper;
import com.kis.model.user.User;
import com.kis.service.user.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wongloong on 16-4-14.
 */
@Service("userService")
@RpcServer(url = "/userService", prefixUrl = "/user")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> findAllUser() {
        return null;
    }

    @Override
    public User findUserByUserId(Long id) {
        return userMapper.selectByPrimaryKey(100000329);
    }

    @Override
    public void addUser(User u) {

    }

    @Override
    public String testEmpty(String s) {
        return s;
    }

    @Override
    public User testData(User u) {
        return u;
    }

    @Override
    public String test1K(String s) {
        return s;
    }

    @Override
    public String test5K(String s) {
        return s;
    }

    @Override
    public String test10K(String s) {
        return s;
    }

    @Override
    public String test20K(String s) {
        return s;
    }

    @Override
    public String test30K(String s) {
        return s;
    }

    @Override
    public String test50K(String s) {
        return s;
    }
}
